package cn.dkk.create_design.factory.iterator;


public class ArrayList implements Collection{

    private static ListIterator iterator;

    {
        iterator=new ListIterator();
    }

    public ListIterator iterator(){
        return iterator;
    }

    class  ListIterator implements Iterator{

        @Override
        public boolean hasNext() {
            return false;
        }

        @Override
        public Object next() {
            return null;
        }
    }

}
